GET
/
local-consumer-types
/
[beta] List local consumer types for a country
curl --request GET \
  --url https://sandbox.prezio.eu/api/local-consumer-types/ \
  --header 'Authorization: <api-key>'
{
  "count": 12,
  "next": "https://api.prezio.com/api/local-consumer-types/?page=2&country=DK",
  "previous": "https://api.prezio.com/api/local-consumer-types/?page=1&country=DK",
  "results": [
    {
      "id": "lct_12",
      "key": "DK_Erhverv",
      "name": "Erhverv",
      "consumer_type": "BUSINESS"
    }
  ]
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Query Parameters

consumer_type
enum<string>

Filter by consumer type (RESIDENTIAL or BUSINESS)

Available options:
BUSINESS,
RESIDENTIAL
country
enum<string>
required

ISO-3166 alpha-2 country code

Available options:
AT,
DE,
DK,
ES,
GB,
NO,
SE
page
integer

A page number within the paginated result set.

page_size
integer

Number of results to return per page.

A search term.

Response

200
application/json

OK

The response is of type object.